{% assign experiences = data.experiences %}
{% if experiences and experiences.display %}
<section class="experiences">
    <div class="section-title">
        {{ experiences.title }}
    </div>

    <div class="section-content">
        {% for experience in experiences.items %}
        <div class="item">

            <div class="upper-row">
                <div class="company">
                    {{ experience.company }}
                    {% if experience.tag %}
                    <small>[{{ experience.tag }}]</small>
                    {% endif %}
                </div>
                <div class="time">{{ experience.time }}</div>
            </div>

            <div class="upper-row">
                <div class="role">{{ experience.role }}</div>
                <div class="location"><i class="fas fa-map-marker-alt"></i> {{ experience.location }}</div>
            </div>

            {% if experience.details %}
            <div class="details">
                <div class="markdown">
                    {{ experience.details | markdownify }}
                </div>
            </div>
            {% endif %}

        </div>
        {% endfor %}
    </div>
</section>
{% endif %}
